body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: $customer_bg;
  overflow: auto;
}

.customer-body {
  overflow: auto;
}

.container {
  max-width: 500px;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
}

.header {
  text-align: center;
  margin-bottom: 20px;
}

.header h1 {
  font-size: 18px;
  margin: 0;
  color: $strong;
  font-weight: 300;
}

.t-title {
  color: $t_title;
  margin-bottom: 8px;
  margin-left: 2px;
  font-size: 15px;
}

.service-section-customer {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-card-customer {
  width: auto;
  min-height: 89px;
  gap: 0;
  border-radius: 12px;
  border: 1px solid $theme_color;
  justify-content: space-between;
  background-color: white;
  // opacity: 1;
  // background: url('/resource_images/#{$path}_appdown/common/kefu_bg.png')
  //   no-repeat;
  // background-size: 100% 100%;
  display: flex;
  align-items: center;
  padding: 6px 16px;
}

.service-card-vertical {
  flex-direction: column;
  padding-top: 20px;
  padding-bottom: 10px;
  border: none;
  background: none;
  background-color: $card_bg;
  box-shadow: 0px 4px 12px 0px rgba(65, 118, 250, 0.1);
}

.service-header-customer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.service-icon-customer {
  width: 60px;
  height: 60px;
  @if $path != 'jinb' {
    border-radius: 14px;
  }
}

.service-text-gap10 {
  gap: 10px;
}

.service-text-customer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 10px;
  flex-grow: 1;
}

.service-text-customer h2 {
  font-family: 'PingFang SC';
  font-size: 15px;
  font-weight: 600;
  line-height: 25.2px;
  text-align: left;
  color: $strong;
  margin: 0;
}

.service-text-customer p {
  font-family: 'PingFang SC';
  font-size: 13px;
  font-weight: 400;
  line-height: 19.6px;
  text-align: left;
  color: $normal;
  margin: 0;
}

.btn-customer {
  width: 98px;
  height: 28px;
  border-radius: 14px;
  font-size: 14px;
  // border: 1px solid $theme_color;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: $them_gradient;
}

.btn-customer:hover {
  background: $them_gradient;
}

.download-btn {
  width: 100%;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 22px;
  background: $them_gradient;
  margin: 10px 0;
  color: #fff;
  font-size: 14px;
  margin-top: 20px;
  border: 0;
  outline: none;
  opacity: 0.6;
  cursor: pointer;
}

.download-btn-2 {
  width: 100%;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 22px;
  border: 1px solid $theme_color;
  margin: 10px 0;
  color: $theme_color;
  font-size: 12px;
  margin-bottom: 8px;
  margin-top: 10px;
  cursor: pointer;
}

.download-tips {
  width: 100%;
  height: auto;
  text-align: justify;
  color: $normal;
  font-size: 12px;
  margin-bottom: 10px;
}

.download-tips span {
  padding: 0 8px;
  display: block;
}

.note {
  color: #d9534f;
  margin-top: 10px;
}

.note-small {
  color: #777;
  font-size: 12px;
  margin-top: 5px;
}

.modal-overlay {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1;
  visibility: hidden;
}

.modal {
  width: 317px;
  height: 372px;
  background-color: #2e2f39;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  z-index: 2;
  gap: 15px;
  visibility: hidden;
}

.modal-image {
  width: 78px;
  height: 78px;
  margin-top: 35px;
}

.modal-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 33.6px;
  color: #fff;
}

.modal-description {
  font-size: 14px;
  line-height: 19.6px;
  color: rgba(255, 255, 255, 0.7);
  text-align: justify;
  margin: 10px 0;
  width: 100%;
  word-wrap: break-word;
}

.modal-button {
  width: 250px;
  height: 44px;
  font-size: 14px;
  border-radius: 22px;
  background: $gradient;
  color: white;
  border: none;
  cursor: pointer;
}

.modal-android {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  background-color: #2e2f39;
  border-radius: 20px;
  width: 317px;
}

.modal-image-android {
  display: flex;
  width: 90px;
  height: 90px;
}

.modal-title-android {
  margin: 0;
  font-weight: 600;
  font-size: 18px;
  line-height: 33.6px;
  color: #fff;
  margin-top: 15px;
}

.modal-description-android {
  margin: 10px 0 20px 0;
  color: rgba(255, 255, 255, 0.7);
  text-align: justify;
  font-size: 14px;
  padding: 0 20px;
}

.modal-button-group {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.modal-button-left {
  height: 42px;
  width: 50%;
  line-height: 42px;
  text-align: center;
  display: flex;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.modal-button-right {
  height: 42px;
  width: 50%;
  line-height: 42px;
  text-align: center;
  display: flex;
  justify-content: center;
  font-size: 14px;
  color: #ccc088;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.load {
  width: 100%;
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
  margin-top: 10px;

  button {
    display: block;
    width: 100%;
    height: 32px;
    line-height: 32px;
    padding: 0;
    font-size: 14px;
    color: #ffffff;
    margin: 0 auto;
    text-align: center;
    border-radius: 22px;
    box-shadow: 0 0.04rem 0.16rem 0 rgba(65, 70, 85, 0.1);
    border: none;
    // margin-top: 16px;
  }

  .installContainer {
    width: 100%;
  }

  .installContainer,
  #progressContainer {
    position: relative;
    width: 100%;

    .install {
      box-shadow: 0 0.04rem 0.16rem 0 rgba(65, 70, 85, 0.15);
      background: $them_gradient;
      animation: install-button 0.66s ease-in-out;

      &:disabled {
        opacity: 0.5;
      }
    }

    .install_end {
      opacity: 0.89;
      background: $them_gradient;
    }

    .install img,
    .install_end img {
      width: 0.27rem;
      height: 0.27rem;
      vertical-align: middle;
      margin-right: 0.1rem;
      margin-top: -0.02rem;
    }

    .fdqInstall {
      margin: 8px 0;
    }

    .can_install_class {
      opacity: 1;
    }

    #installDiv {
      position: absolute;
      display: none;
      left: 0;
      top: 0;
      bottom: 0;
      right: 0;
      z-index: 9;
    }
  }

  .trust {
    margin-left: 0.03rem;
    width: 100%;
    opacity: 0.5;
    background: $them_gradient;
  }
  .trust_active {
    opacity: 1;
  }
  // 进度条
  #progressContainer {
    height: auto;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;

    #progress {
      width: 40px;
      height: 40px;

      .progressbar-text {
        width: 100%;
        height: 50%;
        text-align: center;
        font-size: 12px;
        color: $theme_color;
      }
    }
    #progress svg {
      vertical-align: top;
    }
  }
}

.service-card-vertical-ios {
  flex-direction: column;
  padding-top: 20px;
  padding-bottom: 10px;
  border: none;
  // background-color: $card_bg;
  box-shadow: 0px 4px 12px 0px rgba(65, 118, 250, 0.1);
}

.button-group {
  width: 100%;
  margin-top: 10px;

  .row-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
  }

  .button {
    height: 32px;
    font-size: 14px;
    background: $them_gradient;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .large-button {
    width: 100%;
  }

  .small-button {
    width: 48%;
    background: transparent;
    border: 1px solid $theme_color;
    color: $theme_color;
  }
}

.tab-container {
  width: 100%;
  max-width: 600px;
  padding-top: 20px;
}

.tabs {
  display: flex;
  justify-content: center;
  padding-bottom: 16px;
  gap: 20px;
  position: fixed;
  width: 100%;
  top: 0;
  padding-top: 20px;
  background: $customer_bg;
}

.tab-button {
  padding: 0px 20px;
  font-size: 14px;
  background: #cbced8;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  height: 32px;
}

.tab-button:hover {
  background: $them_gradient !important;
}

.tab-button.active {
  background: $them_gradient !important;
}

.tab-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 30px;
}

.tab-image {
  display: none;
  max-width: 100%;
  border-radius: 8px;
}

.tab-image.active {
  display: block;
}

.return-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
  position: absolute;
  left: 20px;
  margin-top: 4px;
}

.return-icon {
  width: 24px;
  height: 24px;
}
